import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

  const routes = [
  {
      path: '/',
      name: 'Index',
      component: () => import('../views/WishRecommend')
  },
  {
      path: '/college',
      name: 'College',
      component: () => import('../views/College')
  },
  {
      path: '/wishRecommend',
      name: 'WishRecommend',
      component: () => import('../views/WishRecommend')
  },
  {
      path: '/provinceAdmit',
      name: 'ProvinceAdmit',
      component: () => import('../views/ProvinceAdmit')
  },
  {
      path: '/collegeDetails',
      name: 'CollegeDetails',
      component: () => import('../views/CollegeDetails')
  },
]

const router = new VueRouter({
  // mode: 'history',
  mode: 'hash',
  base: process.env.BASE_URL,
  routes
})

export default router
